/*
 * This file is part of the xOperator SPARQL/XMPP agent.
 * For further information see: http://xoperator.aksw.org
 * Copyright (C) 2007-2008  Jörg Unbehauen

 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.

 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.

 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package org.aksw.xoperator;

import org.jdom.Namespace;


/**
 * Holds System wide used constants and default values.
 *
  */
public class Constants {
    public final static int DEFAULT_JABBER_PORT = 5222;
    public final static String RESOURCE_EXTENSION = "agent";
    public final static String STANDARD_PROXY_ACCOUNT_EXTENSION = "s_agent";
    public static final String DEFAULT_SERVER = "jabber.chaotic.net";
    public static final String SPARQL_XMPP_SPEC_URL = "http://www.w3.org/2005/09/xmpp-sparql-binding";

    // public static final String URL_VALIDATION_PATTERN =
    // "\"^(((ht|f)tp(s?))\\://)?((([a-zA-Z0-9_\\-]{2,}\\.)+[a-zA-Z]{2,})|((?:(?:25[0-5]|2[0-4]\\d|[01]\\d\\d|\\d?\\d)(?(\\.?\\d)\\.)){4}))(:[a-zA-Z0-9]+)?(/[a-zA-Z0-9\\-\\._\\?\\,\\'/\\\\\\+&amp;%\\$#\\=~]*)?$";
    public static final Namespace HTTP_WWW_W3_ORG_2005_SPARQL_RESULTS = Namespace.getNamespace("res",
            "http://www.w3.org/2005/sparql-results#");
}
